[Backend] — E2E Tests Incomplete - #739
Merged
Merged
Conversation
…flows [Backend] Scaffold critical-path E2E plan, factories, and CI job
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@Johnpii1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Owner
|
good job... but please can you quickly fix ci/cd pipeline |
Contributor
Author
|
okay |
Updated CI/CD workflow to streamline backend processes and added E2E testing with PostgreSQL and Redis services.
Contributor
Author
|
it has pasted merge boss |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #682
Description
Added an e2e CI job to .github/workflows/backend-ci-cd.yml that runs after build, provisions postgres:16 and redis:7 service containers, and executes cd backend && pnpm run test:e2e with required env vars (DATABASE_URL, REDIS_URL, JWT_SECRET).
Added backend/docs/E2E_TEST_PLAN.md documenting the critical E2E paths, test environment requirements, and an 80% coverage target for critical scenarios.
Added reusable test factories at backend/test/factories/e2e.factory.ts providing deterministic payload generators for auth, wallet linking, savings subscriptions, withdrawals, governance proposals, and votes.
Testing
No automated unit or e2e test suites were executed as part of this PR; the change scaffolds test artifacts and a CI job so E2E suites can be run and gated by CI in follow-up work.